package Clases;

public class Direccion {

    private int _id;
    private String _IP;
    private int _PuertoRecibir;
    private int level;
    private int split;

    public int Level() {
        return level;
    }

    public void Level(int level) {
        this.level = level;
    }

    public int Split() {
        return split;
    }

    public void Split(int split) {
        this.split = split;
    }

    public String IP() {
        return _IP;
    }

    public int PuertoRecibir() {
        return _PuertoRecibir;
    }

    public int ID() {
        return _id;
    }

    public Direccion(int ID, String ip, int puertoRecibir, int level, int split) {
        this._id = ID;
        this._IP = ip;
        this._PuertoRecibir = puertoRecibir;
        this.level = level;
        this.split = split;
    }

    public Direccion(int ID, String ip, int puertoRecibir) {
        this._id = ID;
        this._IP = ip;
        this._PuertoRecibir = puertoRecibir;
    }
}
